package com.bvgol.examples.springbootmybatisplus.mutipleDataSources;/**
 * @Classname MutipleDataSourcesApplication
 * @Description TODO
 * @Date 2021/4/23 11:21
 * @Created by GUOCHEN
 */

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @program: my-spring-completely
 * @description: 启动类
 * @author: GUOCHEN
 * @create: 2021/04/23 11:21
 */
//@EnableTransactionManagement
//@Configuration
@MapperScan("com.bvgol.examples.springbootmybatisplus.mutipleDataSources.mapper*")
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
public class MutipleDataSourcesApplication {
    public static void main(String[] args) {
        SpringApplication.run(MutipleDataSourcesApplication.class, args);
    }

}
